package org.iks.common.valid;

import jakarta.validation.Constraint;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Author kzou
 * Date 2024/3/23
 * Description: 校验用户账号是否为当前用户
 */
@Target({ElementType.FIELD})
@Retention(RUNTIME)
@Documented
//@Constraint(validatedBy = CurrUserAccountValidator.class)
public @interface CurrUserAccount {

}
